Eclipse Platform
Pre-release 3.0

org.eclipse.ui.views.markers
Class TaskView

java.lang.Object
  extended byorg.eclipse.ui.part.WorkbenchPart
      extended byorg.eclipse.ui.part.ViewPart
          extended byorg.eclipse.ui.views.markers.internal.TableView
              extended byorg.eclipse.ui.views.markers.internal.MarkerView
                  extended byorg.eclipse.ui.views.markers.TaskView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IViewPart, IWorkbenchPart

public class TaskView
extends org.eclipse.ui.views.markers.internal.MarkerView


Field Summary
 
Fields inherited from class org.eclipse.ui.views.markers.internal.MarkerView
copyAction, deleteAction, focusResources, openAction, pasteAction, propertiesAction, revealAction, selectAllAction, showInNavigatorAction
 
Fields inherited from class org.eclipse.ui.views.markers.internal.TableView
columnLayouts, FILTERS_ACTION_ID, SORT_ACTION_ID
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
TaskView()
           
 
Method Summary
protected  void createActions()
           
protected  void createColumns(Table table)
           
 void createPartControl(Composite parent)
          Creates the SWT controls for this workbench part.
 void dispose()
          Disposes of this workbench part.
protected  void fillContextMenu(IMenuManager manager)
           
protected  void fillContextMenuAdditions(IMenuManager manager)
           
protected  ColumnLayoutData[] getDefaultColumnLayouts()
           
protected  IDialogSettings getDialogSettings()
           
protected  org.eclipse.ui.views.markers.internal.MarkerFilter getFilter()
           
protected  org.eclipse.ui.views.markers.internal.DialogMarkerFilter getFiltersDialog()
           
protected  org.eclipse.ui.views.markers.internal.IField[] getHiddenFields()
           
protected  String[] getMarkerTypes()
           
protected  String[] getRootTypes()
           
protected  Object getViewerInput()
           
protected  org.eclipse.ui.views.markers.internal.IField[] getVisibleFields()
           
 void init(IViewSite viewSite, IMemento memento)
          Initializes this view with the given view site.
protected  void initToolBar(IToolBarManager toolBarManager)
           
 void openFiltersDialog()
           
 void saveState(IMemento memento)
          Saves the object state within a memento.
 void setSelection(IStructuredSelection structuredSelection, boolean reveal)
           
protected  void updateFilterSelection(IResource[] resources)
           
 
Methods inherited from class org.eclipse.ui.views.markers.internal.MarkerView
focusSelectionChanged, getVisibleMarkers, handleKeyPressed, handleOpenEvent, initDragAndDrop, refresh, registerGlobalActions, restoreSelection, saveSelection, sorterChanged, updateStatusMessage, updateStatusMessage, updateSummarySelected, updateSummaryVisible, viewerSelectionChanged
 
Methods inherited from class org.eclipse.ui.views.markers.internal.TableView
createTable, getAction, getFields, getHeaderListener, getSelectionProvider, getSortDialog, getSorter, getViewer, initActionBars, initContextMenu, initMenu, putAction, setFocus, setSelection
 
Methods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getJobChangeListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

TaskView

public TaskView()
Method Detail

createPartControl

public void createPartControl(Composite parent)
Description copied from interface: IWorkbenchPart
Creates the SWT controls for this workbench part.

Clients should not call this method (the workbench calls this method when it needs to, which may be never).

For implementors this is a multi-step process:

  1. Create one or more controls within the parent.
  2. Set the parent layout as needed.
  3. Register any global actions with the IActionService.
  4. Register any popup menus with the IActionService.
  5. Register a selection provider with the ISelectionService (optional).


dispose

public void dispose()
Description copied from interface: IWorkbenchPart
Disposes of this workbench part.

This is the last method called on the IWorkbenchPart. At this point the part controls (if they were ever created) have been disposed as part of an SWT composite. There is no guarantee that createPartControl() has been called, so the part controls may never have been created.

Within this method a part may release any resources, fonts, images, etc.  held by this part. It is also very important to deregister all listeners from the workbench.

Clients should not call this method (the workbench calls this method at appropriate times).


init

public void init(IViewSite viewSite,
                 IMemento memento)
          throws PartInitException
Description copied from interface: IViewPart
Initializes this view with the given view site. A memento is passed to the view which contains a snapshot of the views state from a previous session. Where possible, the view should try to recreate that state within the part controls.

This method is automatically called by the workbench shortly after part construction. It marks the start of the views's lifecycle. Clients must not call this method.

Throws:
PartInitException

saveState

public void saveState(IMemento memento)
Description copied from interface: IViewPart
Saves the object state within a memento.


getDefaultColumnLayouts

protected ColumnLayoutData[] getDefaultColumnLayouts()

getDialogSettings

protected IDialogSettings getDialogSettings()

createActions

protected void createActions()

createColumns

protected void createColumns(Table table)

fillContextMenu

protected void fillContextMenu(IMenuManager manager)

fillContextMenuAdditions

protected void fillContextMenuAdditions(IMenuManager manager)

getFiltersDialog

protected org.eclipse.ui.views.markers.internal.DialogMarkerFilter getFiltersDialog()

getHiddenFields

protected org.eclipse.ui.views.markers.internal.IField[] getHiddenFields()

getRootTypes

protected String[] getRootTypes()

getViewerInput

protected Object getViewerInput()

getVisibleFields

protected org.eclipse.ui.views.markers.internal.IField[] getVisibleFields()

initToolBar

protected void initToolBar(IToolBarManager toolBarManager)

setSelection

public void setSelection(IStructuredSelection structuredSelection,
                         boolean reveal)

getMarkerTypes

protected String[] getMarkerTypes()

getFilter

protected org.eclipse.ui.views.markers.internal.MarkerFilter getFilter()

openFiltersDialog

public void openFiltersDialog()

updateFilterSelection

protected void updateFilterSelection(IResource[] resources)

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.